home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / DOpus_CleanRAMDisk / cleanramdisk.doc next >
Text File  |  1994-08-22  |  4KB  |  119 lines

  1.  
  2.                           DOpus Cleanramdisk V1.0
  3.                           ~~~~~~~~~~~~~~~~~~~~~~~
  4.                  An AREXX script for cleaning your ramdisk.
  5.  
  6.                                      by
  7.                               Roland Schwingel
  8.  
  9.  
  10.  
  11. Introduction
  12. ~~~~~~~~~~~~
  13. Have you ever extracted archives to the ramdisk and after you have
  14. inspected them tried to get rid of them ? When you are using DOpus
  15. you have selected all files and directories of the archive with the 
  16. mouse and then deleted them using the delete button. If you are
  17. looking at many archives on a day e.g. browsing through an Aminet or
  18. Fish CD you know that deleting inspected extracted archives from ram: 
  19. is a boring job, because you have to be careful not to delete other
  20. directories like ENV or your disk.info file.
  21.  
  22. Now you got an AREXX script for DOpus which is making the job for
  23. you. It deletes all files in the ram disk except the following files
  24. and directories:
  25.  
  26. - Clipboards (dir)
  27. - ENV (dir)
  28. - T (dir)
  29. - Disk.info
  30.  
  31.  
  32. Disclaimer
  33. ~~~~~~~~~~
  34. This AREXX script is Freeware, but commercial use requires agreement
  35. by the author! Because this script is potential dangerous (if there
  36. is a bug inside you could propably delete important data. I am using
  37. this script for 2 month now and I haven't lost anything) there is 
  38. absolute no garantee.
  39.  
  40. YOU ARE USING THIS SCRIPT ENTIRELY AT YOUR OWN RISK ! THE AUTHOR
  41. CAN NOT BE MADE LIABLE FOR ANY HARM THIS SOFTWARE IS MAKING TO YOUR 
  42. SOFT- OR HARDWARE !
  43.  
  44.  
  45. Requirements
  46. ~~~~~~~~~~~~
  47.  
  48. You will need the following things to run this script:
  49. - DirectoryOpus 4.0 or better (propably it will also work
  50.                                with 3.x)
  51.  
  52. - installed AREXX (who has it not? it is included in your 
  53.                    workbench diskset supplied by C= when you
  54.                    are running AmigaOS 2.0 or better)
  55.  
  56. - an Amiga (of course)
  57.  
  58. - eyes to read this (I know I am a fool. ;-) )
  59.  
  60.  
  61. Installation
  62. ~~~~~~~~~~~~
  63. Installing is easy. 
  64.  
  65. First step: Copy the 'cleanramdisk.dopus' file to a directory
  66.             where AREXX and/or DOpus can find it eg. REXX:. 
  67.             I have made a special directory for DOpus AREXX files. 
  68.             It is inside DOpus: and is called AREXX (what a surprise).
  69.  
  70. Second step: Call the DirectoryOpus config utility and make a new button
  71.              or menuitem. Name it 'CleanRam' or anything else.
  72.              Add a new line and change the cyclegadget left to the
  73.              stringgadget to AREXX. Enter the following in the 
  74.              stringgadget: 'DOpus:Arexx/cleanramdisk.dopus'. And set
  75.              NO flags !
  76.  
  77. That's all. :)
  78.  
  79.  
  80. How it works
  81. ~~~~~~~~~~~~
  82. When you hit the 'CleanRam'-Button the AREXX script is invoked
  83. and checks if one of the two windows contains the rootdirectory
  84. of the ram disk. When no window contains this the 'RAM:'
  85. rootdirectory is loaded into the active window. If the inactive
  86. window containes the desired directory then this window will 
  87. become the active one.
  88.  
  89. Then everything in the active window is marked except the files 
  90. and directories mentioned in Introduction. When this is done
  91. delete is invoked for the active window.
  92.  
  93. After finishing the delete procedure every window is restored
  94. to its inital settings. This means when 'RAM:' was loaded as
  95. mentioned above the original directory for this window will
  96. be loaded again.
  97.  
  98.  
  99. Contacting the Author
  100. ~~~~~~~~~~~~~~~~~~~~~
  101. You can reach me the following ways:
  102.  
  103.    Postal adress:
  104.  
  105.    Roland Schwingel
  106.    Lilienthalstraße 9
  107.    92421 Schwandorf
  108.    Germany
  109.  
  110.    Email:
  111.    roland.schwingel@extern.uni-regensburg.de
  112.  
  113.  
  114. History
  115. ~~~~~~~
  116.   22. Aug 1994  V1.0   Initial release. (But I wrote this
  117.                        script about 2 month ago.)
  118.  
  119.